const { searchVal, getData, audit, backLook, handleEdit, handleDelete } = require("../controller/audit")
const router = require("koa-router")()
const auth = require("../middleware/auth");

router.get('/getData', auth, getData)
router.post('/searchVal', auth, searchVal)

router.post('/audit', auth, audit)
router.post('/handleEdit', auth, handleEdit)
router.post('/handleDelete', auth, handleDelete)
router.post('/backLook', auth, backLook)

module.exports = router
